Other Definitions

  • Represents a type of attachment.

    See

    Buglife.addAttachmentWithData(_:type:filename:error:)

    Declaration

    Objective-C

    typedef NSString LIFEAttachmentType
  • Text attachment type.

    Declaration

    Objective-C

    extern LIFEAttachmentType *const _Nonnull LIFEAttachmentTypeIdentifierText

    Swift

    let LIFEAttachmentTypeIdentifierText: String
  • JSON attachment type. This can be used to attach network responses, and other JSON payloads.

    Declaration

    Objective-C

    extern LIFEAttachmentType *const _Nonnull LIFEAttachmentTypeIdentifierJSON

    Swift

    let LIFEAttachmentTypeIdentifierJSON: String
  • SQLite attachment type. This can be used to attach Core Data databases, and other SQLite files.

    Declaration

    Objective-C

    extern LIFEAttachmentType *const _Nonnull LIFEAttachmentTypeIdentifierSqlite

    Swift

    let LIFEAttachmentTypeIdentifierSqlite: String
  • Image attachment type. This can be used to programmatically attach screenshots. The exact type (JPEG/PNG) will be inferred from the provided filename.

    Declaration

    Objective-C

    extern LIFEAttachmentType *const _Nonnull LIFEAttachmentTypeIdentifierImage

    Swift

    let LIFEAttachmentTypeIdentifierImage: String